package com.derek.omshopping.http;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

import static android.R.attr.type;

/**
 * Created by My on 2016/10/17.
 */

public interface RetrofitService {
    //分类界面左侧listview
    @GET("mt/leftnav")
    Call<ResponseBody> getClassifyLeftListView();
    //http://m.ocj.com.cn/mt/navcategorynew/数字
    @GET("mt/navcategorynew/{type}")
    Call<ResponseBody> getClassifyRightRecyclerView(@Path("type") String type);
    @GET("mt/mainModel?model=main_b")
    Call<ResponseBody> getClassifyDetail();
}
